package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Chef;
import org.hxyjs.entity.ChefExample;

public interface ChefMapper {
    long countByExample(ChefExample example);

    int deleteByExample(ChefExample example);

    int deleteByPrimaryKey(String cno);

    int insert(Chef record);

    int insertSelective(Chef record);

    List<Chef> selectByExample(ChefExample example);

    List<Chef> getChefsByPage(Map<String, Object> map);

    String getMaxCno();

    Chef selectByPrimaryKey(String cno);

    Chef selectChefWithorderAndUser(String cno);

    int updateByExampleSelective(@Param("record") Chef record, @Param("example") ChefExample example);

    int updateByExample(@Param("record") Chef record, @Param("example") ChefExample example);

    int updateByPrimaryKeySelective(Chef record);

    int updateByPrimaryKey(Chef record);
}